package cn.cvs.service;

import cn.cvs.dao.SysRoleMapper;
import cn.cvs.pojo.SysRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysRoleServlceImpl implements SysRoleServlce {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> list() {
        return sysRoleMapper.list();
    }
}
